import * as THREE from 'three';

export function createGeometry(size = 10) {
  const geometry = new THREE.BoxGeometry(size, size, size);
  const material = new THREE.MeshStandardMaterial({ color: 0x00ff00 });
  const cube = new THREE.Mesh(geometry, material);
  const axesHelper = new THREE.AxesHelper(30);
  cube.add(axesHelper);
  return cube;
}

export function createConeGeometry(size = 32) {
  const geometry = new THREE.ConeGeometry(size, size, size);
  const material = new THREE.MeshStandardMaterial({ color: 0x0000ff });
  const cone = new THREE.Mesh(geometry, material);
  const axesHelper = new THREE.AxesHelper(30);
  cone.add(axesHelper);
  return cone;
}
